<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags"  prefix="s" %>   
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<s:url var="myurl"  action="helloAction" method="saveOrder" namespace="/order">
	<s:param name="id" value="1001"/>
</s:url>
<s:a href="%{#attr.myurl}">添加订单</s:a>
<s:set var="ok" value="'确定'" scope="request"></s:set>
<s:submit value="#attr.ok"></s:submit><br/>
<s:submit value="%{#attr.ok}"></s:submit>
<h3>jsp标准工作</h3>
<jsp:useBean id="u" class="com.shop.entity.UserInfo"/>
<jsp:setProperty property="username" name="u" value="小昭"/>
姓名:<jsp:getProperty property="username" name="u"/>
</body>
</html>